export default {
    namespaced: true,
    state: {
        userInfo: {
            phone: '',
            token: '',
            id: ''
        }
    },
    mutations: {
        setUserInfo(state, userInfo) {
            state.userInfo = userInfo;
        },
        clearUserInfo(state) {
            state.userInfo = {
                phone: '',
                token: '',
                id: ''
            }
        }
    },
    actions: {

    },
    getters: {

    }
}